package com.sykj.util.reponse;

import lombok.Getter;

/**
 * @program: BeautyClub
 * @description: 自定义枚举类
 * @author: qiaoli
 * @create: 2020-07-15 09:23
 */
@Getter
public enum CommonEnum {
    // 数据操作错误定义
    SUCCESS("200", "成功!"),
    LAYUI_SUCCESS("0", "查询成功!"),
    BODY_NOT_MATCH("400","请求的数据格式不符!"),
    SIGNATURE_NOT_MATCH("401","请求的数字签名不匹配!"),
    NOT_FOUND("404", "未找到该资源!"),
    INTERNAL_SERVER_ERROR("500", "服务器内部错误!"),
    SERVER_BUSY("503","服务器正忙，请稍后再试!"),
    //王坤
    SYS_RORE_EXIS("402","该角色已存在"),
    SYS_USER_EXIS("403","账号已存在"),
    SYS_USER_LONGE_NO("405","登陆失败"),
    REDIS_YZM_ERROR("400","生成验证码错误！"),
    REDIS_YZM_Null("401","验证码已失效或不存在！"),
    BISSHOPUSER_QUERY_OK("201","店铺员工信息表查询成功"),
    SHIRO_MMCW("101","密码错误"),
    SHIRO_ZHJY("102","帐号被禁用"),
    SHIRO_DLCSGD("103","帐号登陆次数过多")
    , SHIRO_ZHSD("104","帐号被锁定"),
    SHIRO_DLPZGQ("105","帐号凭证过期"),
    SHIRO_DLSB("106","帐号失败"),
    SHIO_DLCG("107","ok"),
    REDIS_LOCK_ERROR("101","账号已被锁定半小时"),
    AOP_REPETITION_ERROR("403","重复提交"),
    AOP_VERIFY_ERROR("500","验证重复提交时出现未知异常!"),
    WeChat_QUERY_SUCCESS("200","数据响应成功！"),
    WeChat_QUERY_ERROR("404","数据响应失败"),
    RedisSystemExcption("500","redis主机连接强制断开"),
    OSS_IMG_ERROR("404","oss上传失败"),
    HONG_ACT_NOT_START("2001","活动还未开始"),
    HONG_ACT_END("2002","活动已结束"),
    HONG_ACT_OK("2000","恭喜你中奖了！"),
    USER_NOT_LONG("404","用户未登陆"),
    HONG_ACT_NO("2003","未中奖！"),
    HONG_ACT_MAX("2004","奖品已抽光"),
    HONG_ACT_CI("2005","您已达到最大中奖次数"),
    USER_LOGIN_QUIT("200","退出登录成功!"),
    GAME_ACT_HDWKS("-300","活动未开始"),
    GAME_ACT_HDYJS("-400","活动已结束"),
    GAME_ACT_BSZCD("-500","你谁呀你"),
    GAME_ACT_ZDZJCS("-600","您已达到最大中奖数"),
    GAME_ACT_JPK("-700","奖品已抽光"),
    GAME_ACT_MYZJ("-800","没有中奖"),
    GAME_ACT_GXZJ("6000","恭喜中奖"),
    BISSHOP_COLLECT_ERROR("-200","已收藏过此店铺"),
    BISSHOP_COLLECT_OK("200","收藏成功！"),
    WaPay_IMG_ERROR("404","不好意思此项目没有库存！"),
    WaPay_IMG_SUCCESS("200","请支付"),
    WaPay_SAVA_ERROR("500","支付信息添加失败"),
    BOOKED_PROJECT_SUCCESS("200","项目预约成功！"),
    BOOKED_PROJECT_ERROR("404","项目预约失败！")
    ;




    /** 错误码 */
    private String resultCode;

    /** 错误描述 */
    private String resultMsg;

    CommonEnum(String resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }



}